/// id : "1839589073507192907"
/// isDel : null
/// createBy : null
/// updateBy : null
/// createTime : 1727427187
/// updateTime : null
/// noticeName : "0926郭岩发布公告"
/// noticeDescription : "0926郭岩发布公告描述"
/// content : null
/// sendSource : null
/// sendUserIdcard : "141127199405110135"
/// receiveUserIdcard : null
/// chatRoomId : null
/// chatRoomIdList : null
/// sysType : null
/// submitDate : "2024-09-27 16:53:07"
/// sendUserName : "郭岩"
/// sendUserHeadImg : "user/head_1720265592295837764.jpg"
/// readNum : 0
/// noReadNum : 2

class OrganizationAnnouncementItemDto {
  OrganizationAnnouncementItemDto({
      String? id, 
      dynamic isDel, 
      dynamic createBy, 
      dynamic updateBy, 
      num? createTime, 
      dynamic updateTime, 
      String? noticeName, 
      String? noticeDescription, 
      dynamic content, 
      dynamic sendSource, 
      String? sendUserIdcard, 
      dynamic receiveUserIdcard, 
      dynamic chatRoomId, 
      dynamic chatRoomIdList, 
      dynamic sysType, 
      String? submitDate, 
      String? sendUserName, 
      String? sendUserHeadImg, 
      num? readNum, 
      num? noReadNum,}){
    _id = id;
    _isDel = isDel;
    _createBy = createBy;
    _updateBy = updateBy;
    _createTime = createTime;
    _updateTime = updateTime;
    _noticeName = noticeName;
    _noticeDescription = noticeDescription;
    _content = content;
    _sendSource = sendSource;
    _sendUserIdcard = sendUserIdcard;
    _receiveUserIdcard = receiveUserIdcard;
    _chatRoomId = chatRoomId;
    _chatRoomIdList = chatRoomIdList;
    _sysType = sysType;
    _submitDate = submitDate;
    _sendUserName = sendUserName;
    _sendUserHeadImg = sendUserHeadImg;
    _readNum = readNum;
    _noReadNum = noReadNum;
}

  OrganizationAnnouncementItemDto.fromJson(dynamic json) {
    _id = json['id'];
    _isDel = json['isDel'];
    _createBy = json['createBy'];
    _updateBy = json['updateBy'];
    _createTime = json['createTime'];
    _updateTime = json['updateTime'];
    _noticeName = json['noticeName'];
    _noticeDescription = json['noticeDescription'];
    _content = json['content'];
    _sendSource = json['sendSource'];
    _sendUserIdcard = json['sendUserIdcard'];
    _receiveUserIdcard = json['receiveUserIdcard'];
    _chatRoomId = json['chatRoomId'];
    _chatRoomIdList = json['chatRoomIdList'];
    _sysType = json['sysType'];
    _submitDate = json['submitDate'];
    _sendUserName = json['sendUserName'];
    _sendUserHeadImg = json['sendUserHeadImg'];
    _readNum = json['readNum'];
    _noReadNum = json['noReadNum'];
  }
  String? _id;
  dynamic _isDel;
  dynamic _createBy;
  dynamic _updateBy;
  num? _createTime;
  dynamic _updateTime;
  String? _noticeName;
  String? _noticeDescription;
  dynamic _content;
  dynamic _sendSource;
  String? _sendUserIdcard;
  dynamic _receiveUserIdcard;
  dynamic _chatRoomId;
  dynamic _chatRoomIdList;
  dynamic _sysType;
  String? _submitDate;
  String? _sendUserName;
  String? _sendUserHeadImg;
  num? _readNum;
  num? _noReadNum;
OrganizationAnnouncementItemDto copyWith({  String? id,
  dynamic isDel,
  dynamic createBy,
  dynamic updateBy,
  num? createTime,
  dynamic updateTime,
  String? noticeName,
  String? noticeDescription,
  dynamic content,
  dynamic sendSource,
  String? sendUserIdcard,
  dynamic receiveUserIdcard,
  dynamic chatRoomId,
  dynamic chatRoomIdList,
  dynamic sysType,
  String? submitDate,
  String? sendUserName,
  String? sendUserHeadImg,
  num? readNum,
  num? noReadNum,
}) => OrganizationAnnouncementItemDto(  id: id ?? _id,
  isDel: isDel ?? _isDel,
  createBy: createBy ?? _createBy,
  updateBy: updateBy ?? _updateBy,
  createTime: createTime ?? _createTime,
  updateTime: updateTime ?? _updateTime,
  noticeName: noticeName ?? _noticeName,
  noticeDescription: noticeDescription ?? _noticeDescription,
  content: content ?? _content,
  sendSource: sendSource ?? _sendSource,
  sendUserIdcard: sendUserIdcard ?? _sendUserIdcard,
  receiveUserIdcard: receiveUserIdcard ?? _receiveUserIdcard,
  chatRoomId: chatRoomId ?? _chatRoomId,
  chatRoomIdList: chatRoomIdList ?? _chatRoomIdList,
  sysType: sysType ?? _sysType,
  submitDate: submitDate ?? _submitDate,
  sendUserName: sendUserName ?? _sendUserName,
  sendUserHeadImg: sendUserHeadImg ?? _sendUserHeadImg,
  readNum: readNum ?? _readNum,
  noReadNum: noReadNum ?? _noReadNum,
);
  String? get id => _id;
  dynamic get isDel => _isDel;
  dynamic get createBy => _createBy;
  dynamic get updateBy => _updateBy;
  num? get createTime => _createTime;
  dynamic get updateTime => _updateTime;
  String? get noticeName => _noticeName;
  String? get noticeDescription => _noticeDescription;
  dynamic get content => _content;
  dynamic get sendSource => _sendSource;
  String? get sendUserIdcard => _sendUserIdcard;
  dynamic get receiveUserIdcard => _receiveUserIdcard;
  dynamic get chatRoomId => _chatRoomId;
  dynamic get chatRoomIdList => _chatRoomIdList;
  dynamic get sysType => _sysType;
  String? get submitDate => _submitDate;
  String? get sendUserName => _sendUserName;
  String? get sendUserHeadImg => _sendUserHeadImg;
  num? get readNum => _readNum;
  num? get noReadNum => _noReadNum;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = _id;
    map['isDel'] = _isDel;
    map['createBy'] = _createBy;
    map['updateBy'] = _updateBy;
    map['createTime'] = _createTime;
    map['updateTime'] = _updateTime;
    map['noticeName'] = _noticeName;
    map['noticeDescription'] = _noticeDescription;
    map['content'] = _content;
    map['sendSource'] = _sendSource;
    map['sendUserIdcard'] = _sendUserIdcard;
    map['receiveUserIdcard'] = _receiveUserIdcard;
    map['chatRoomId'] = _chatRoomId;
    map['chatRoomIdList'] = _chatRoomIdList;
    map['sysType'] = _sysType;
    map['submitDate'] = _submitDate;
    map['sendUserName'] = _sendUserName;
    map['sendUserHeadImg'] = _sendUserHeadImg;
    map['readNum'] = _readNum;
    map['noReadNum'] = _noReadNum;
    return map;
  }

}